package com.celebracion.user;

import com.celebracion.R;
import com.celebracion.R.layout;
import com.celebracion.R.menu;
import com.celebracion.util.DBUtil;

import android.os.Bundle;
import android.app.Activity;
import android.app.ListActivity;
import android.util.Log;
import android.view.Menu;
import android.view.View;
import android.view.Window;
import android.widget.ListView;
import android.widget.Toast;

public class VisorEventosPrevistosActivity extends ListActivity {

	private VisorEventosAdapter adapter;

	public void onCreate(Bundle savedInstanceState) {
			requestWindowFeature(Window.FEATURE_NO_TITLE);
	        super.onCreate(savedInstanceState);
	       

	        setContentView(R.layout.activity_visor_eventos_previstos);
	        
	        adapter = new VisorEventosAdapter(DBUtil.getInstance(this.getBaseContext()).getEventosNoActivos(),this.getBaseContext());

	        setListAdapter(adapter);

	}

	
    public void atras(View view){
    	finish();
    }
	   
	

}
